Title: Replication Package for "Mirroring of the Dragon: How Values and Political Values Affect Perception of China’s National Image? Evidence from the Asian Barometer Survey"

Article Author: Zongyi Huo, Yulun Jing

Corresponding Author: Zongyi Huo (huozy22@mails.tsinghua.edu.cn)

README Author: Zongyi Huo (huozy22@mails.tsinghua.edu.cn)

Date: December 30, 2024

Computing Environment: aarch64-apple-darwin20 (64-bit) under macOS 15.1.1

Data Source: The Asian Barometer Survey (ABS), fifth wave, released on April 1, 2023.

Software: R version 4.3.3

Required Software Packages: Requisite R packages are specified in the replication file. Below are the version numbers of all required R packages, listed alphabetically:

       bruceR (Version: 2024.6)
       dotwhisker (Version: 0.8.3)
       estimatr (Version: 1.0.4)
       gt (Version: 0.11.1)       ggsci (Version: 3.2.0)
       gridExtra (Version: 2.3)
       kableExtra (Version: 1.4.0)
       modelsummary (Version: 2.2.0)
       packman (Version: 0.5.1)
       rio (Version: 1.2.3)       tidyverse (Version: 2.0.0)

Note: To replicate all analyses including figures and tables, (1) download the data file "02_data.sav" and code file "01_replication.R" in a folder,
					     		      (2) run the "01_replication.R" code file.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%% Replication Code %%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

01_replication.R
- Runs the analyses of all variables
- Generates all tables and figures.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  Data File  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

02_data.sav
- Contains variables essential for analysis, derived from the Asian Barometer Survey data.


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  Codebook  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

03_codebook.pdf
- Provides information on "02_data.sav" file.
- Includes variable names, variable labels.
